import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const Login = () =>
    import ('../views/Login.vue')

const routes = [{
        path: '/',
        redirect: '/index',
    },
    {
        path: '/index',
        component: Login
    }
]
export default new VueRouter({
    routes
})